<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>3dchess: S:/dev/3dchess/src/gui/GuiWindow.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3dchess
   </div>
   <div id="projectbrief">Basic chess application with OpenGL graphics and AI</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_99d0482cf009f9d97a0877749b817f19.html">gui</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">GuiWindow.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    Copyright (c) 2013-2014, Patrick Hillert &lt;silent@gmx.biz&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    All rights reserved.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    modification, are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    1. Redistributions of source code must retain the above copyright notice,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">    notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    3. Neither the name of the copyright holder nor the names of its</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">    contributors may be used to endorse or promote products derived from</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">    this software without specific prior written permission.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">    POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#ifndef GUIWINDOW_H</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define GUIWINDOW_H</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;SDL.h&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;gui/StateMachine.h&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;gui/states/MenuMain.h&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;gui/interface/AbstractState.h&quot;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#ifdef _WIN32</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;windows.h&gt;</span> <span class="comment">// Needed for gl.h</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &lt;GL/gl.h&gt;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;gui/FreeType.h&gt;</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_gui_window.html">   56</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_gui_window.html">GuiWindow</a> {</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_gui_window.html">GuiWindow</a>();</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="class_gui_window.html#a7ec9f60bb67305d49ddd75820f7da431">GuiWindow</a>(std::string title, <span class="keywordtype">bool</span> fullscreen, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#ad52aa83b09f0a47682b1b1e72a0033a0">exec</a>();</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#aaf9c62a8126d78a07a7b2c79703329e5">getWidth</a>();</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#a0bcbd90ebf87e58ba977cc257b019177">getHeight</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#ae339b09d9c3775e76828b60b0e35f84c">getCameraDistanceToOrigin</a>();</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_gui_window.html#ae1b51dc695ba5a482bcf9ddd9b92fd01">isFullscreen</a>();</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a8beaf3554961df36d7a61f28b1726a60">set2DMode</a>();</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a94faebc6cc18a9fbace76aa965ffe974">set3DMode</a>();</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a85e3a1d988c00ed92ce7ae75b12f18b9">swapFrameBufferNow</a>();</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="class_gui_window.html#a79ab3cdd048d53881039d852b1304671">  116</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_gui_window.html#a79ab3cdd048d53881039d852b1304671">WindowMode</a> {</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        FULLSCREEN,</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        WINDOW</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    };</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a78c90c42292e90a3d40ac0ff95d75f1a">switchWindowMode</a>(<a class="code" href="class_gui_window.html#a79ab3cdd048d53881039d852b1304671">WindowMode</a> mode);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="class_gui_window.html#a52f6f44f5dac84f6b7b804c6f69fcfa1">  128</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_gui_window.html#a52f6f44f5dac84f6b7b804c6f69fcfa1">m_cX</a>, m_cY, m_cZ;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_gui_window.html#a9c2e753c99ddeccf9f559e1e85d2dce2">  131</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_gui_window.html#a9c2e753c99ddeccf9f559e1e85d2dce2">m_cameraAngleX</a>, m_cameraAngleY, m_cameraAngleZ;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_gui_window.html#ab30b29d66a1f84bd567f52c87882c6ae">  134</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_gui_window.html#ab30b29d66a1f84bd567f52c87882c6ae">m_fov</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#aff09d1875c9f72b49a1ce987772ee896">printHeadline</a>(std::string text);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a9ec61c2bf6cf7f09d41abe8a7f5329a2">printSubHeadline</a>(std::string text);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#ae9078989a77947d4c8eaa99ce45afe88">printTextCenter</a>(<span class="keywordtype">float</span> red, <span class="keywordtype">float</span> green, <span class="keywordtype">float</span> blue, std::string text);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#ac406f26d6e4fe70396e068a40c2e439c">printText</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">float</span> red, <span class="keywordtype">float</span> green, <span class="keywordtype">float</span> blue, std::string text);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#aba05e1ee467f1c3b273c2c767653dfc9">printTextSmall</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">float</span> red, <span class="keywordtype">float</span> green, <span class="keywordtype">float</span> blue, std::string text);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_gui_window.html#a30ca64fcfb6724f883763be5ac6ce8be">  184</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_gui_window.html#a30ca64fcfb6724f883763be5ac6ce8be">fontSize</a> {</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        HEADLINE = 42,</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        SUB_HEADLINE = 28,</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        TEXT = 20,</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        TEXT_SMALL = 15</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    };</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="struct_gui_window_1_1font_object.html">  193</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_gui_window_1_1font_object.html">fontObject</a> {</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <span class="keywordtype">int</span> x;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <span class="keywordtype">int</span> y;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordtype">float</span> red;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordtype">float</span> green;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="keywordtype">float</span> blue;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#a30ca64fcfb6724f883763be5ac6ce8be">fontSize</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        <a class="code" href="structfreetype_1_1font__data.html">freetype::font_data</a> font;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        std::string text;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    };</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#ac7945e8ab85b4c37d029699de481d787">handleEvents</a>();</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#af4861b154f7de8eb429aca94e22ea3a0">init</a>();</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#af529af3e890c177f4cfb536dd49a6843">loadFonts</a>();</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#ac86f71aa69cb480a8cee86b93c36a546">terminate</a>();</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a35aa2747a5c156325246c3f5f7f6056d">exit</a>();</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a4a26e435ba564e5192ce5aa27fcdf53a">makeFrustum</a>(<span class="keywordtype">double</span> fovY, <span class="keywordtype">double</span> aspectRatio, <span class="keywordtype">double</span> front, <span class="keywordtype">double</span> back);</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_gui_window.html#a6ce57715cdaf405d79f825f9597789e4">drawText</a>(<a class="code" href="struct_gui_window_1_1font_object.html">fontObject</a> fo);</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="class_gui_window.html#a0ba9723f4d0022b8348b5d7878aba5cd">  249</a></span>&#160;    SDL_Window *<a class="code" href="class_gui_window.html#a0ba9723f4d0022b8348b5d7878aba5cd">window</a>;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="class_gui_window.html#ab17845686ae4f9a65a7d139021ff202a">  252</a></span>&#160;    SDL_Event <a class="code" href="class_gui_window.html#ab17845686ae4f9a65a7d139021ff202a">evt</a>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="class_gui_window.html#a91bcc39c911d0010a6b82a5bed7cf137">  255</a></span>&#160;    SDL_GLContext <a class="code" href="class_gui_window.html#a91bcc39c911d0010a6b82a5bed7cf137">ogl</a>;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="class_gui_window.html#a1c845c56b45467cca71fa2643020f906">  258</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#a1c845c56b45467cca71fa2643020f906">m_oldMouseX</a>, m_oldMouseY;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="class_gui_window.html#acd919f5c4e5b0b8d4eeaab915c76b625">  261</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_gui_window.html#acd919f5c4e5b0b8d4eeaab915c76b625">m_quit</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="class_gui_window.html#aa3f3aaab3ba7db5b8e9496009162e0b6">  264</a></span>&#160;    std::string <a class="code" href="class_gui_window.html#aa3f3aaab3ba7db5b8e9496009162e0b6">m_title</a>;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="class_gui_window.html#a46163535e47a524e8a493d819daeae2d">  267</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_gui_window.html#a46163535e47a524e8a493d819daeae2d">m_fullscreen</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="class_gui_window.html#ab0526ec0496d5e30a36f459cfb616a18">  270</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#ab0526ec0496d5e30a36f459cfb616a18">m_width</a>;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="class_gui_window.html#ad81fc4d932fd2c5c1291a30238777939">  273</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#ad81fc4d932fd2c5c1291a30238777939">m_height</a>;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div>
<div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="class_gui_window.html#a701ca5ca4ba0ef64c5371ec06478ea9d">  276</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#a701ca5ca4ba0ef64c5371ec06478ea9d">m_widthOld</a>, m_heightOld;</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="class_gui_window.html#ab8b55d4956c5726a9e86faac707398d0">  279</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#ab8b55d4956c5726a9e86faac707398d0">m_depthBits</a>;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="class_gui_window.html#ade20100dcc119d4fe3eb8f7bfb7630cd">  282</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_gui_window.html#ade20100dcc119d4fe3eb8f7bfb7630cd">m_antiAlias</a>;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="class_gui_window.html#abe819fe1beef449caf300a52cbfb4840">  285</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_gui_window.html#abe819fe1beef449caf300a52cbfb4840">m_reloadState</a>;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="class_gui_window.html#a46441fcf29ab985086d987acdd185737">  288</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_gui_window.html#a46441fcf29ab985086d987acdd185737">m_zNear</a>, m_zFar;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="class_gui_window.html#a959b15961cf37c684657b17663fa81a4">  291</a></span>&#160;    <a class="code" href="class_state_machine.html">StateMachine</a>&amp; <a class="code" href="class_gui_window.html#a959b15961cf37c684657b17663fa81a4">m_fsm</a>;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div>
<div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="class_gui_window.html#abf3582ad28b48fd2d8efc05f0005f5d2">  294</a></span>&#160;    <a class="code" href="structfreetype_1_1font__data.html">freetype::font_data</a> <a class="code" href="class_gui_window.html#abf3582ad28b48fd2d8efc05f0005f5d2">fontHeadline</a>, fontSubHeadline, fontText, fontTextSmall;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;};</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="preprocessor">#endif // GUIWINDOW_H</span></div>
<div class="ttc" id="class_gui_window_html_a1c845c56b45467cca71fa2643020f906"><div class="ttname"><a href="class_gui_window.html#a1c845c56b45467cca71fa2643020f906">GuiWindow::m_oldMouseX</a></div><div class="ttdeci">int m_oldMouseX</div><div class="ttdoc">The old mouse coordinates. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:258</div></div>
<div class="ttc" id="class_state_machine_html"><div class="ttname"><a href="class_state_machine.html">StateMachine</a></div><div class="ttdoc">Class which manages the states. </div><div class="ttdef"><b>Definition:</b> StateMachine.h:51</div></div>
<div class="ttc" id="class_gui_window_html_acd919f5c4e5b0b8d4eeaab915c76b625"><div class="ttname"><a href="class_gui_window.html#acd919f5c4e5b0b8d4eeaab915c76b625">GuiWindow::m_quit</a></div><div class="ttdeci">bool m_quit</div><div class="ttdoc">Flag that indicates whether the execution loop should end. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:261</div></div>
<div class="ttc" id="class_gui_window_html_a78c90c42292e90a3d40ac0ff95d75f1a"><div class="ttname"><a href="class_gui_window.html#a78c90c42292e90a3d40ac0ff95d75f1a">GuiWindow::switchWindowMode</a></div><div class="ttdeci">void switchWindowMode(WindowMode mode)</div><div class="ttdoc">Switches the window mode to one of the available modes. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:87</div></div>
<div class="ttc" id="class_gui_window_html_a91bcc39c911d0010a6b82a5bed7cf137"><div class="ttname"><a href="class_gui_window.html#a91bcc39c911d0010a6b82a5bed7cf137">GuiWindow::ogl</a></div><div class="ttdeci">SDL_GLContext ogl</div><div class="ttdoc">SDL OpenGL context. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:255</div></div>
<div class="ttc" id="class_gui_window_html_a30ca64fcfb6724f883763be5ac6ce8be"><div class="ttname"><a href="class_gui_window.html#a30ca64fcfb6724f883763be5ac6ce8be">GuiWindow::fontSize</a></div><div class="ttdeci">fontSize</div><div class="ttdoc">The available font sizes. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:184</div></div>
<div class="ttc" id="class_gui_window_html_af529af3e890c177f4cfb536dd49a6843"><div class="ttname"><a href="class_gui_window.html#af529af3e890c177f4cfb536dd49a6843">GuiWindow::loadFonts</a></div><div class="ttdeci">void loadFonts()</div><div class="ttdoc">Loads all the fonts. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:174</div></div>
<div class="ttc" id="class_gui_window_html_ae1b51dc695ba5a482bcf9ddd9b92fd01"><div class="ttname"><a href="class_gui_window.html#ae1b51dc695ba5a482bcf9ddd9b92fd01">GuiWindow::isFullscreen</a></div><div class="ttdeci">bool isFullscreen()</div><div class="ttdoc">Checks if the window is currently in fullscreen mode. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:83</div></div>
<div class="ttc" id="class_gui_window_html_a959b15961cf37c684657b17663fa81a4"><div class="ttname"><a href="class_gui_window.html#a959b15961cf37c684657b17663fa81a4">GuiWindow::m_fsm</a></div><div class="ttdeci">StateMachine &amp; m_fsm</div><div class="ttdoc">The state machine. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:291</div></div>
<div class="ttc" id="class_gui_window_html_abe819fe1beef449caf300a52cbfb4840"><div class="ttname"><a href="class_gui_window.html#abe819fe1beef449caf300a52cbfb4840">GuiWindow::m_reloadState</a></div><div class="ttdeci">bool m_reloadState</div><div class="ttdoc">Flag that indicates of the window mode changed, so that all textures must be initialized again...</div><div class="ttdef"><b>Definition:</b> GuiWindow.h:285</div></div>
<div class="ttc" id="class_gui_window_html_ac406f26d6e4fe70396e068a40c2e439c"><div class="ttname"><a href="class_gui_window.html#ac406f26d6e4fe70396e068a40c2e439c">GuiWindow::printText</a></div><div class="ttdeci">void printText(int x, int y, float red, float green, float blue, std::string text)</div><div class="ttdoc">Prints text at the given position of the window&#39;s viewport with normal text size. ...</div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:418</div></div>
<div class="ttc" id="class_gui_window_html_a0bcbd90ebf87e58ba977cc257b019177"><div class="ttname"><a href="class_gui_window.html#a0bcbd90ebf87e58ba977cc257b019177">GuiWindow::getHeight</a></div><div class="ttdeci">int getHeight()</div><div class="ttdoc">Gets the height of the window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:75</div></div>
<div class="ttc" id="class_gui_window_html_a52f6f44f5dac84f6b7b804c6f69fcfa1"><div class="ttname"><a href="class_gui_window.html#a52f6f44f5dac84f6b7b804c6f69fcfa1">GuiWindow::m_cX</a></div><div class="ttdeci">float m_cX</div><div class="ttdoc">Camera position in world coordinates. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:128</div></div>
<div class="ttc" id="structfreetype_1_1font__data_html"><div class="ttname"><a href="structfreetype_1_1font__data.html">freetype::font_data</a></div><div class="ttdoc">This holds all of the information related to any freetype font that we want to create. </div><div class="ttdef"><b>Definition:</b> FreeType.h:54</div></div>
<div class="ttc" id="class_gui_window_html_aa3f3aaab3ba7db5b8e9496009162e0b6"><div class="ttname"><a href="class_gui_window.html#aa3f3aaab3ba7db5b8e9496009162e0b6">GuiWindow::m_title</a></div><div class="ttdeci">std::string m_title</div><div class="ttdoc">The window title. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:264</div></div>
<div class="ttc" id="class_gui_window_html_ab17845686ae4f9a65a7d139021ff202a"><div class="ttname"><a href="class_gui_window.html#ab17845686ae4f9a65a7d139021ff202a">GuiWindow::evt</a></div><div class="ttdeci">SDL_Event evt</div><div class="ttdoc">SDL events. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:252</div></div>
<div class="ttc" id="class_gui_window_html_aff09d1875c9f72b49a1ce987772ee896"><div class="ttname"><a href="class_gui_window.html#aff09d1875c9f72b49a1ce987772ee896">GuiWindow::printHeadline</a></div><div class="ttdeci">void printHeadline(std::string text)</div><div class="ttdoc">Prints the headline text at the top left location. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:443</div></div>
<div class="ttc" id="class_gui_window_html_a94faebc6cc18a9fbace76aa965ffe974"><div class="ttname"><a href="class_gui_window.html#a94faebc6cc18a9fbace76aa965ffe974">GuiWindow::set3DMode</a></div><div class="ttdeci">void set3DMode()</div><div class="ttdoc">Set the model view matrix to draw 3D. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:386</div></div>
<div class="ttc" id="class_gui_window_html_ad81fc4d932fd2c5c1291a30238777939"><div class="ttname"><a href="class_gui_window.html#ad81fc4d932fd2c5c1291a30238777939">GuiWindow::m_height</a></div><div class="ttdeci">int m_height</div><div class="ttdoc">The height of the window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:273</div></div>
<div class="ttc" id="class_gui_window_html_ae339b09d9c3775e76828b60b0e35f84c"><div class="ttname"><a href="class_gui_window.html#ae339b09d9c3775e76828b60b0e35f84c">GuiWindow::getCameraDistanceToOrigin</a></div><div class="ttdeci">int getCameraDistanceToOrigin()</div><div class="ttdoc">Gets the distance between the camera and the world coordinate origin. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:79</div></div>
<div class="ttc" id="class_gui_window_html_aba05e1ee467f1c3b273c2c767653dfc9"><div class="ttname"><a href="class_gui_window.html#aba05e1ee467f1c3b273c2c767653dfc9">GuiWindow::printTextSmall</a></div><div class="ttdeci">void printTextSmall(int x, int y, float red, float green, float blue, std::string text)</div><div class="ttdoc">Prints text at the given position of the window&#39;s viewport with small text size. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:430</div></div>
<div class="ttc" id="class_gui_window_html_ab0526ec0496d5e30a36f459cfb616a18"><div class="ttname"><a href="class_gui_window.html#ab0526ec0496d5e30a36f459cfb616a18">GuiWindow::m_width</a></div><div class="ttdeci">int m_width</div><div class="ttdoc">The width of the window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:270</div></div>
<div class="ttc" id="class_gui_window_html_a85e3a1d988c00ed92ce7ae75b12f18b9"><div class="ttname"><a href="class_gui_window.html#a85e3a1d988c00ed92ce7ae75b12f18b9">GuiWindow::swapFrameBufferNow</a></div><div class="ttdeci">void swapFrameBufferNow()</div><div class="ttdoc">The frame buffer will normally swapped at the end of the execution loop. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:370</div></div>
<div class="ttc" id="class_gui_window_html_ac86f71aa69cb480a8cee86b93c36a546"><div class="ttname"><a href="class_gui_window.html#ac86f71aa69cb480a8cee86b93c36a546">GuiWindow::terminate</a></div><div class="ttdeci">void terminate()</div><div class="ttdoc">Destroys the OpenGL context and closes the window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:181</div></div>
<div class="ttc" id="class_gui_window_html_abf3582ad28b48fd2d8efc05f0005f5d2"><div class="ttname"><a href="class_gui_window.html#abf3582ad28b48fd2d8efc05f0005f5d2">GuiWindow::fontHeadline</a></div><div class="ttdeci">freetype::font_data fontHeadline</div><div class="ttdoc">The different fonts with different sizes. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:294</div></div>
<div class="ttc" id="class_gui_window_html_ae9078989a77947d4c8eaa99ce45afe88"><div class="ttname"><a href="class_gui_window.html#ae9078989a77947d4c8eaa99ce45afe88">GuiWindow::printTextCenter</a></div><div class="ttdeci">void printTextCenter(float red, float green, float blue, std::string text)</div><div class="ttdoc">Prints text at the center of the window&#39;s viewport. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:467</div></div>
<div class="ttc" id="class_gui_window_html_a0ba9723f4d0022b8348b5d7878aba5cd"><div class="ttname"><a href="class_gui_window.html#a0ba9723f4d0022b8348b5d7878aba5cd">GuiWindow::window</a></div><div class="ttdeci">SDL_Window * window</div><div class="ttdoc">The pointer to the SDL window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:249</div></div>
<div class="ttc" id="class_gui_window_html_a4a26e435ba564e5192ce5aa27fcdf53a"><div class="ttname"><a href="class_gui_window.html#a4a26e435ba564e5192ce5aa27fcdf53a">GuiWindow::makeFrustum</a></div><div class="ttdeci">void makeFrustum(double fovY, double aspectRatio, double front, double back)</div><div class="ttdoc">Calculates the frustum by providing the field of view (FOV), an aspect ratio and a front and back cli...</div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:407</div></div>
<div class="ttc" id="class_gui_window_html_af4861b154f7de8eb429aca94e22ea3a0"><div class="ttname"><a href="class_gui_window.html#af4861b154f7de8eb429aca94e22ea3a0">GuiWindow::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">Inits the window by using the SDL, creates the OpenGL context and call loadFonts() to load all the ne...</div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:133</div></div>
<div class="ttc" id="class_gui_window_html_ab30b29d66a1f84bd567f52c87882c6ae"><div class="ttname"><a href="class_gui_window.html#ab30b29d66a1f84bd567f52c87882c6ae">GuiWindow::m_fov</a></div><div class="ttdeci">float m_fov</div><div class="ttdoc">field of view (is the extent of the observable world that is seen at any given moment) ...</div><div class="ttdef"><b>Definition:</b> GuiWindow.h:134</div></div>
<div class="ttc" id="class_gui_window_html_a8beaf3554961df36d7a61f28b1726a60"><div class="ttname"><a href="class_gui_window.html#a8beaf3554961df36d7a61f28b1726a60">GuiWindow::set2DMode</a></div><div class="ttdeci">void set2DMode()</div><div class="ttdoc">Set the model view matrix to draw 2D. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:375</div></div>
<div class="ttc" id="class_gui_window_html_ac7945e8ab85b4c37d029699de481d787"><div class="ttname"><a href="class_gui_window.html#ac7945e8ab85b4c37d029699de481d787">GuiWindow::handleEvents</a></div><div class="ttdeci">void handleEvents()</div><div class="ttdoc">Handles mouse and keyboard events by using the SDL library. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:188</div></div>
<div class="ttc" id="class_gui_window_html_a9ec61c2bf6cf7f09d41abe8a7f5329a2"><div class="ttname"><a href="class_gui_window.html#a9ec61c2bf6cf7f09d41abe8a7f5329a2">GuiWindow::printSubHeadline</a></div><div class="ttdeci">void printSubHeadline(std::string text)</div><div class="ttdoc">Prints the subheadline text at the top left location directly under the headline. ...</div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:455</div></div>
<div class="ttc" id="class_gui_window_html_a6ce57715cdaf405d79f825f9597789e4"><div class="ttname"><a href="class_gui_window.html#a6ce57715cdaf405d79f825f9597789e4">GuiWindow::drawText</a></div><div class="ttdeci">void drawText(fontObject fo)</div><div class="ttdoc">Draws the given font object. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:480</div></div>
<div class="ttc" id="class_gui_window_html_a701ca5ca4ba0ef64c5371ec06478ea9d"><div class="ttname"><a href="class_gui_window.html#a701ca5ca4ba0ef64c5371ec06478ea9d">GuiWindow::m_widthOld</a></div><div class="ttdeci">int m_widthOld</div><div class="ttdoc">Old window dimensions (needed when switching window modes). </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:276</div></div>
<div class="ttc" id="class_gui_window_html_a35aa2747a5c156325246c3f5f7f6056d"><div class="ttname"><a href="class_gui_window.html#a35aa2747a5c156325246c3f5f7f6056d">GuiWindow::exit</a></div><div class="ttdeci">void exit()</div><div class="ttdoc">Sets a flag to close the window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:318</div></div>
<div class="ttc" id="class_gui_window_html_aaf9c62a8126d78a07a7b2c79703329e5"><div class="ttname"><a href="class_gui_window.html#aaf9c62a8126d78a07a7b2c79703329e5">GuiWindow::getWidth</a></div><div class="ttdeci">int getWidth()</div><div class="ttdoc">Gets the width of the window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:71</div></div>
<div class="ttc" id="class_gui_window_html_a7ec9f60bb67305d49ddd75820f7da431"><div class="ttname"><a href="class_gui_window.html#a7ec9f60bb67305d49ddd75820f7da431">GuiWindow::GuiWindow</a></div><div class="ttdeci">GuiWindow(std::string title, bool fullscreen, int width, int height)</div><div class="ttdoc">Creates a new GUI window. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:39</div></div>
<div class="ttc" id="class_gui_window_html_a9c2e753c99ddeccf9f559e1e85d2dce2"><div class="ttname"><a href="class_gui_window.html#a9c2e753c99ddeccf9f559e1e85d2dce2">GuiWindow::m_cameraAngleX</a></div><div class="ttdeci">float m_cameraAngleX</div><div class="ttdoc">Camera angle in degree. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:131</div></div>
<div class="ttc" id="class_gui_window_html_a46163535e47a524e8a493d819daeae2d"><div class="ttname"><a href="class_gui_window.html#a46163535e47a524e8a493d819daeae2d">GuiWindow::m_fullscreen</a></div><div class="ttdeci">bool m_fullscreen</div><div class="ttdoc">Flag, if the window is in fullscreen mode. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:267</div></div>
<div class="ttc" id="class_gui_window_html_a79ab3cdd048d53881039d852b1304671"><div class="ttname"><a href="class_gui_window.html#a79ab3cdd048d53881039d852b1304671">GuiWindow::WindowMode</a></div><div class="ttdeci">WindowMode</div><div class="ttdoc">Available window modes. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:116</div></div>
<div class="ttc" id="class_gui_window_html_a46441fcf29ab985086d987acdd185737"><div class="ttname"><a href="class_gui_window.html#a46441fcf29ab985086d987acdd185737">GuiWindow::m_zNear</a></div><div class="ttdeci">float m_zNear</div><div class="ttdoc">Near and far clipping plane. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:288</div></div>
<div class="ttc" id="struct_gui_window_1_1font_object_html"><div class="ttname"><a href="struct_gui_window_1_1font_object.html">GuiWindow::fontObject</a></div><div class="ttdoc">Describes a whole font object through color, size, position, font type and text. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:193</div></div>
<div class="ttc" id="class_gui_window_html_ade20100dcc119d4fe3eb8f7bfb7630cd"><div class="ttname"><a href="class_gui_window.html#ade20100dcc119d4fe3eb8f7bfb7630cd">GuiWindow::m_antiAlias</a></div><div class="ttdeci">int m_antiAlias</div><div class="ttdoc">Anti-Alis factor. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:282</div></div>
<div class="ttc" id="class_gui_window_html_ad52aa83b09f0a47682b1b1e72a0033a0"><div class="ttname"><a href="class_gui_window.html#ad52aa83b09f0a47682b1b1e72a0033a0">GuiWindow::exec</a></div><div class="ttdeci">void exec()</div><div class="ttdoc">Inits the window and starts the execution loop. </div><div class="ttdef"><b>Definition:</b> GuiWindow.cpp:322</div></div>
<div class="ttc" id="class_gui_window_html_ab8b55d4956c5726a9e86faac707398d0"><div class="ttname"><a href="class_gui_window.html#ab8b55d4956c5726a9e86faac707398d0">GuiWindow::m_depthBits</a></div><div class="ttdeci">int m_depthBits</div><div class="ttdoc">Bitdepth. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:279</div></div>
<div class="ttc" id="class_gui_window_html"><div class="ttname"><a href="class_gui_window.html">GuiWindow</a></div><div class="ttdoc">This class is a wrapper which holds the window with the OpenGL context. </div><div class="ttdef"><b>Definition:</b> GuiWindow.h:56</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 9 2014 23:12:55 for 3dchess by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
